package com.ruoyi.web.vo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;
import java.util.Date;

@Data
@TableName(value = "mes_produce_paper")
public class ProducePaper {
    @TableId
    private String paperId;
    private String paperInfoId;
    private String orderProductId;
    private String produceId;
    private String paperProduceNo;
    private String paperType;
    private String paperNo;
    private String type;
    private String brand;
    private double weight;
    private String specifications;
    private double length;
    private double width;
    private String unit;
    private double amount;
    private double reamAmount;
    private String paperName;
    //已领用数量
    private double usedAmount;
    private String size;
    private String printType;
    private BigDecimal unitPrice;
    private BigDecimal price;

    //@TableField(fill = FieldFill.INSERT)
    private String createBy;

    //@TableField(fill = FieldFill.INSERT)
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    //平张/卷筒
    @TableField(exist = false)
    private String packageType;
}
